package com.idanchuang.user.count.service.api.request.command.count;

import com.idanchuang.user.count.service.api.request.command.BaseUpdateCommand;
import com.idanchuang.user.count.service.api.request.command.UserRelated;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Richard_yyf
 * @version 1.0 2021/6/15
 */
public class UserMultiScenesCountResetCommand extends BaseUpdateCommand implements UserRelated {

    /**
     * 用户code
     */
    @NotNull
    private Integer userCode;

    @NotEmpty
    private List<SceneCountReset> sceneCountResetList;

    public UserMultiScenesCountResetCommand() {
    }

    @Override
    public Integer getUserCode() {
        return userCode;
    }

    public void setUserCode(Integer userCode) {
        this.userCode = userCode;
    }

    public List<SceneCountReset> getSceneCountResetList() {
        return sceneCountResetList;
    }

    public void setSceneCountResetList(List<SceneCountReset> sceneCountResetList) {
        this.sceneCountResetList = sceneCountResetList;
    }

    @Override
    public String toString() {
        return "UserMultiScenesCountResetCommand{" +
                "userCode=" + userCode +
                ", sceneCountResetList=" + sceneCountResetList +
                "} " + super.toString();
    }
}
